OPC Studio User's Guide and Reference
TargetDataEventArgs<TData> Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > TargetDataEventArgs<TData> Class : TargetDataEventArgs<TData> Constructor
The data of the event.
The target object of the linking.
Initializes a new instance of the class, with given data and a target object.
Syntax
'Declaration
 
Public Function New( _
   ByVal data As TData, _
   ByVal targetObject As Object _
)
'Usage
 
Dim data As TData
Dim targetObject As Object
 
Dim instance As New TargetDataEventArgs(Of TData)(data, targetObject)
public TargetDataEventArgs<TData>( 
   TData data,
   object targetObject
)
public:
TargetDataEventArgs<TData>( 
   TData^ data,
   Object^ targetObject
)

Parameters

data
The data of the event.
targetObject
The target object of the linking.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also